A mutable lookup implementing System.Linq.ILookup<TKey, TElement>
- TKey
- The lookup key.
- TElement
- The elements under each TKey.
Documentation for this section has not yet been entered.
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
See Also: Inherited members from object.
⊟ Public Constructors
Documentation for this section has not yet been entered. Documentation for this section has not yet been entered. ⊟ Public Properties
[read-only] Count int . Gets the number of groupings. [read-only] default propertyItem (TKey) IEnumerable<TElement> . Gets the elements for key. ⊟ Public Methods
Add (TKey, TElement) Adds element under the specified key. key does not need to exist.Clear () Documentation for this section has not yet been entered.Contains (TKey) : bool Gets whether or not there's a grouping for key.GetEnumerator () : IEnumerator<System.Linq.IGrouping<TKey, TElement>> Documentation for this section has not yet been entered.Remove (TKey) : bool Removes key from the lookup.Remove (TKey, TElement) : bool Removes element from the key.TryGetValues (TKey, out IEnumerable<TElement>) : bool Documentation for this section has not yet been entered.⊟ Explicitly Implemented Interface Members
IEnumerable.GetEnumerator Documentation for this section has not yet been entered. ⊟ Extension Methods
⊟ MutableLookup Constructor
Documentation for this section has not yet been entered.
public MutableLookup ()⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ MutableLookup Constructor
Documentation for this section has not yet been entered.
public MutableLookup (System.Linq.ILookup<TKey, TElement> lookup)⊟ Parameters
- lookup
- Documentation for this section has not yet been entered.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Add Method
Adds element under the specified key. key does not need to exist.
public void Add (TKey key, TElement element)⊟ Parameters
- key
- The key to add element under.
- element
- The element to add.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Clear Method
Documentation for this section has not yet been entered.
public void Clear ()⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Contains Method
Gets whether or not there's a grouping for key.
public bool Contains (TKey key)⊟ Parameters
- key
- The key to check for.
⊟ Returns
true if key is present.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Count Property
Gets the number of groupings.
public int Count { get; }⊟ Value
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ GetEnumerator Method
Documentation for this section has not yet been entered.
public IEnumerator<System.Linq.IGrouping<TKey, TElement>> GetEnumerator ()⊟ Returns
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Item Property
Gets the elements for key.
This is the default property for this class.
public IEnumerable<TElement> this [TKey key] { get; }⊟ Parameters
- key
- The key to get the elements for.
⊟ Value
The elements under key.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Remove Method
Removes key from the lookup.
public bool Remove (TKey key)⊟ Parameters
- key
- They to remove.
⊟ Returns
true if key existed.⊟ Exceptions
Type Reason ArgumentNullException key is null. ⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ Remove Method
Removes element from the key.
public bool Remove (TKey key, TElement element)⊟ Parameters
- key
- The key that element is located under.
- element
- The element to remove from key.
⊟ Returns
true if key and element existed, false if not.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ System.Collections.IEnumerable.GetEnumerator Method
Documentation for this section has not yet been entered.
IEnumerator System.Collections.IEnumerable.GetEnumerator ()⊟ Returns
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
⊟ TryGetValues Method
Documentation for this section has not yet been entered.
public bool TryGetValues (TKey key, out IEnumerable<TElement> values)⊟ Parameters
- key
- Documentation for this section has not yet been entered.
- values
- Documentation for this section has not yet been entered.
⊟ Returns
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0